package com.buba.commodity.service.impl;

import com.buba.commodity.dao.BlandMapper;
import com.buba.commodity.pojo.ProductBland;
import com.buba.commodity.service.BlandService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
@DubboService
public class BlandServiceImpl implements BlandService {
    private BlandMapper blandMapper;

    @Override
    public long selBlandCount(Map<String, Object> map) {
        return blandMapper.selBlandCount(map);
    }

    @Override
    public List<ProductBland> selBland(Map<String, Object> map) {
        return blandMapper.selBland(map);
    }

    @Autowired
    public void setBlandMapper(BlandMapper blandMapper) {
        this.blandMapper = blandMapper;
    }


}
